package com.m3958.firstgwt.client.place;

import com.m3958.firstgwt.client.MyPlace;
import com.m3958.firstgwt.client.types.ViewNameEnum;

public class MenuItemPlace extends MyPlace{

	private String menulevelId;
	
	public MenuItemPlace(String menuLevelId){
		this.menulevelId = menuLevelId;
	}
	
	@Override
	public String getToken() {
		return ViewNameEnum.MENUITEM.toString().toLowerCase() + "/" + menulevelId;
	}

	public String getMenulevelId() {
		return menulevelId;
	}

	public void setMenulevelId(String menulevelId) {
		this.menulevelId = menulevelId;
	}

}
